#include "Timecnt.h"

TimeCnt_t xTimeCounter = {0};

void vTimeCounterUpdate(void)
{
    if(xTimeCounter.startCounter){
        xTimeCounter.startCounter--;
    }

    if(xTimeCounter.displayCounter){
        xTimeCounter.displayCounter--;
    }

    if(xTimeCounter.orientCounter){
        xTimeCounter.orientCounter--;
    }

    xSensorlessInfo.ForceRunPhaseTimeCnt++;
    
}
